import Vue from 'vue'
import VueRouter from 'vue-router'

import Home from '../views/home'
import Hah from '../views/hah'
import Cart from '../views/cart'
import Friends from '../views/friends'

Vue.use(VueRouter)

const router =new VueRouter({
  routes:
  [
    {
      path:'/home',
      component:Home
    },
    {
      path:'/hah',
      component:Hah
    },
    {
      path:'/friends',
      component:Friends
    },
    {
      path:'/cart',
      component:Cart
    },

  ]
})
export default router